<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('pool_bid_not_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->

                <ul>
                    <li><span>客户池编号：</span><input type="text" name="user_pool_bid_id" value="{$user_pool_bid_id}"/></li>
                    <li><span>合作商编号：</span><input type="text" name="cooperate_id" value="{$cooperate_id}"/></li>
                    <li><span>发标人编号：</span><input type="text" name="cooperate_admin_id" value="{$cooperate_admin_id}"/></li>
                    <li><span>发标人电话：</span><input type="text" name="phone" value="{$phone}"/></li>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>用户电话：</span><input type="text" name="user_phone" value="{$user_phone}"/></li>
                    <li><span>状态：</span>{:widget('common/Select/select',array('pool_bid_status','pool_bid_status',$pool_bid_status))}</li>
                    <li style="width: 100%"><span>所在城市：</span>{:widget('common/Select/select_group',array('area',array($area_list,"area_id","acronym","parent_id"),0,$area))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--合作商列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>客户池编号</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人编号</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人名称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>发标人电话</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 7%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户名称</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户电话</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>意向金额(万元)</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>创建时间</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="$user_pool_bid_list" item="info"}
            <tr>
                <td>{$info.user_pool_bid_id}</td>
                <td>{$info.cooperate_admin_id}</td>
                <td>{:widget('common/Name/cooperate_admin',array($info["cooperate_admin_id"]))}</td>
                <td>{$info.c_phone}</td>
                <td>{$info.user_id}</td>
                <td>{:widget('common/Name/user',array($info["user_id"]))}</td>
                <td>{$info.u_phone}</td>
                <td>{$info.money}</td>
                <td>{:widget('common/Color/Color',array("pool_bid_status",$info['pool_bid_status']))}</td>
                <td>{empty name="$info.create_time"}--{else/}{$info.create_time}{/empty}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('pool_bid_cooperate_info',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" data-title="意向详情" data-width="80%" data-height="80%" class="blue">意向详情</a>
                    <a data-type="info-win" data-src="{:Url('user/user_info',array('user_id'=>$info['user_id']))}" data-title="用户详情" data-width="80%" data-height="80%" class="blue">用户详情</a>
                    <a data-type="info-win" data-src="{:Url('cooperate_admin/cooperate_admin_info',array('cooperate_admin_id'=>$info['cooperate_admin_id']))}" data-title="客户详情" data-width="90%" data-height="80%" class="blue">合作商详情</a>
                    {if condition="$info['pool_bid_status']!=1"}
                    <a data-type="info-win" data-src="{:Url('bid_tender_log',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" data-title="投标详情" data-width="90%" data-height="80%" class="blue">投标详情</a>
                    <a data-type="info-win" data-src="{:Url('pool_bid_not_task_list',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" data-title="跟踪记录" data-width="80%" data-height="80%" class="blue">跟踪记录</a>
                    {/if}
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>